import 'package:flutter/material.dart';
import 'package:flutternote/com/lzp/flutternote/animation/scale_animate.dart';

import 'animate_switcher_show.dart';

class AnimationShow extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("动画"),
      ),
      body: Center(
        child: Column(
          children: <Widget>[
            OutlineButton(
              borderSide: BorderSide(color: Colors.green),
              child: Text("缩放动画"),
              onPressed: () {
                Navigator.push(
                    context,
                    new MaterialPageRoute(
                        builder: (context) => ScaleAnimationShow()));
              },
            ),
            OutlineButton(
              borderSide: BorderSide(color: Colors.green),
              child: Text("AnimateSwitcher"),
              onPressed: () {
                Navigator.push(
                    context,
                    new MaterialPageRoute(
                        builder: (context) => AnimateSwitcherShow()));
              },
            ),
          ],
        ),
      ),
    );
  }
}